package bookshop.dao;

import java.util.List;

import bookshop.domain.ReceiveAddr;

public interface ReceiveAddrDao {
	
	//根据用户ID得到用户的收货地址
	List<ReceiveAddr> GetAllReceiverAddrByCustId(String custId);
	
	//添加用户的收货地址 
	void AddReceiverAddr(ReceiveAddr ra);
	
	//根据收货地址ID取出收货地址的相关信息
	ReceiveAddr GetReceiverAddrById(int receiveId);
	
	//根据收货地址ID更新收货信息
	void UpdateReceiveAddr(ReceiveAddr ra);

}
